#-------------------------------------------------
#
# Project created by QtCreator 2018-12-05T16:38:26
#
#-------------------------------------------------
#DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS

QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = ProgramLanguageTranslate
TEMPLATE = lib

DEFINES += PROGRAMLANGUAGETRANSLATE_LIBRARY

SOURCES += \
        programlanguagetranslate.cpp \
    programsimplecheck.cpp \
    programregexp.cpp \
    programtexttransfer.cpp

HEADERS += \
        programlanguagetranslate.h \
    programlanguagetranslate_global.h \
    programsimplecheck.h \
    programregexp.h \
    programtexttransfer.h

INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH +=../ProgramSet
INCLUDEPATH +=../CommunicateDelegate

unix {
    target.path = /usr/lib
    INSTALLS += target
}

contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR = ../../lib/x86_WINDOWS

}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR = ../../lib/x86


}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR = ../../lib/arm
}

#LIBS += -L../../lib/x86 -lProgramSet



#编译目录
UI_DIR += ../../build/tmphmi
MOC_DIR += ../../build/tmphmi
OBJECTS_DIR += ../../build/tmphmi
RCC_DIR += ../../build/tmphmi

